namespace Domain
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using Telerik.Reporting;
    using Telerik.Reporting.Drawing;

    /// <summary>
    /// Summary description for Coffee.
    /// </summary>
    public partial class Coffee : Telerik.Reporting.Report
    {
        public Coffee()
        {
            //
            // Required for telerik Reporting designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //

            CoffeeDataItem[] coffees = new CoffeeDataItem[]
            {
                new CoffeeDataItem("C1", 1),
                new CoffeeDataItem("C1", 2),
                new CoffeeDataItem("C3", 3)
            };
            this.DataSource = coffees;
        }
    }

    public class CoffeeDataItem
    {
        public string Name { get; set; }
        public int ID { get; set; }

        public CoffeeDataItem(string Name, int ID)
        {
            this.Name = Name;
            this.ID = ID;
        }
    }
}